<?php
class sfvalidatorLogicalPeriod extends sfValidatorBase {

	protected function doClean($value)
	{

		if( empty($value['logical']) &&  empty($value['input']) ){
            throw new sfValidatorError($this, 'required', array('value' => $value));	
		}else{
		    //var_dump($value);exit;
		    return $value;
		}
		
		
	}

}
